with open('./files/1file.txt','r',encoding='utf - 8') as f:
    result = f.read()
    print(result.count('python'))